<extend name="Public/base" />

<!-- 子導航 -->
<block name="sidebar">
    <include file="sidemenu" />
</block>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title cf">
        <h2>
            編輯會員信息
        </h2>
    </div>
    
            <form id="form"  action="{:U('useredit')}" method="post" class="form-horizontal">
                <!-- 基礎文檔模型 -->
                <div id="tab1" class="tab-pane in tab1">
                    <div class="form-item cf">
                        <label class="item-label">用戶名<span class="check-tips"></span></label>
                        <div class="controls">
                            <div class="text input-large" name="username" value="" type="text">  {$list[0]['username']} </div>                                 </div>
                    </div><div class="form-item cf">
                        <label class="item-label">會員卡號<span class="check-tips"></span></label>
                        <div class="controls">
                            <div class="text input-large" name="account" value="" type="text">  {$list[0]['account']}  </div>                                </div>
                    </div><div class="form-item cf">
                        <label class="item-label">密碼<span class="check-tips"></span></label>
                        <div class="controls">
                            <input class="text input-large" name="password" value="" type="password">                                    </div>
                    </div>                            
                    <div class="form-item cf">
                        <label class="item-label">電話<span class="check-tips"></span></label>
                        <div class="controls">
                            <input class="text input-large" name="phone" value="{$list[0]['mobile']}" type="text">                                    </div>
                    </div><div class="form-item cf">
                        <label class="item-label">郵箱<span class="check-tips"></span></label>
                        <div class="controls">
                            <input class="text input-large" name="email" value="{$list[0]['email']}" type="text">                                    </div>
                    </div>
                    <div class="form-item cf">

                        <label class="item-label">地址<span class="check-tips"></span></label>
                        <div class="controls">
                            <input class="text input-large" name="address" value="{$list[0]['address']}" type="text">                                    </div>
                    </div>                    
                </div>
                <input type="hidden" name="id" value="{$list[0]['id']}"/>

                <div class="form-item cf">
                    <button class="btn submit-btn ajax-post hidden" id="submit" type="submit" target-form="form-horizontal">確 定</button>                       
                    <a class="btn btn-return" href="{:U('Admin/Article/userlist')}">返 回</a>

                </div>
            </form>
    
</block>



<block name="script">
    <link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
    <php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
    <link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
    
</block>